//
//  QSmallTicketCell.m
//  QoilPublic
//
//  Created by 杨凯 on 16/12/13.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QSmallTicketCell.h"
#import "QTicketPhotoView.h"

@interface QSmallTicketCell()


@property (weak, nonatomic) IBOutlet QTicketPhotoView *photoView;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *heightConstr;

@end

@implementation QSmallTicketCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setArr:(NSArray *)arr{
    _arr = arr;
    _photoView.arr = arr;
    _heightConstr.constant = _photoView.viewHeight;
    [self setNeedsLayout];
    [self layoutIfNeeded];
}


@end
